package com.thecrackertechnology.andrax;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.View;
import android.view.Window;

import com.thecrackertechnology.dragonterminal.bridge.Bridge;

import me.ibrahimsn.particle.ParticleView;

public class Dco_website_hacking extends Activity {

    ParticleView particleView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {

        this.requestWindowFeature(Window.FEATURE_NO_TITLE);

        super.onCreate(savedInstanceState);


        setContentView(R.layout.dco_website_hacking);

        particleView = findViewById(R.id.particleView_dco_website);

        CardView cardviewodin = findViewById(R.id.card_view_odin);
        CardView cardviewnodexp = findViewById(R.id.card_view_nodexp);
        CardView cardviewxxeenum = findViewById(R.id.card_view_xxe_enum);
        CardView cardviewxxeinjector = findViewById(R.id.card_view_xxeinjector);
        CardView cardviewxxetimes = findViewById(R.id.card_view_xxetimes);
        CardView cardviewmitmproxy = findViewById(R.id.card_view_mitmproxy);
        CardView cardviewwapiti = findViewById(R.id.card_view_wapiti);
        CardView cardviewreconng = findViewById(R.id.card_view_reconng);
        CardView cardviewphpsploit = findViewById(R.id.card_view_phpsploit);
        CardView cardviewxsstrike = findViewById(R.id.card_view_xsstrike);
        CardView cardviewphoton = findViewById(R.id.card_view_photon);
        CardView cardviewxsser = findViewById(R.id.card_view_xsser);
        CardView cardviewcommix = findViewById(R.id.card_view_commix);
        CardView cardviewsqlmap = findViewById(R.id.card_view_sqlmap);
        CardView cardviewpayloadmask = findViewById(R.id.card_view_payloadmask);
        CardView cardviewabernathy = findViewById(R.id.card_view_abernathy);
        CardView cardviewclusterd = findViewById(R.id.card_view_clusterd);
        CardView cardviewdirb = findViewById(R.id.card_view_dirb);
        CardView cardviewfimap = findViewById(R.id.card_view_fimap);
        CardView cardviewgrabber = findViewById(R.id.card_view_grabber);
        CardView cardviewhamster = findViewById(R.id.card_view_hamster);
        CardView cardviewhttrack = findViewById(R.id.card_view_httrack);
        CardView cardviewarjun = findViewById(R.id.card_view_arjun);
        CardView cardviewput2win = findViewById(R.id.card_view_put2win);
        CardView cardviewwafninja = findViewById(R.id.card_view_wafninja);
        CardView cardviewxsrfprobe = findViewById(R.id.card_view_xsrfprobe);
        CardView cardviewevilurl = findViewById(R.id.card_view_evilurl);
        CardView cardviewfiesta = findViewById(R.id.card_view_fiesta);
        CardView cardviewwhatweb = findViewById(R.id.card_view_whatweb);
        CardView cardviewgolismero = findViewById(R.id.card_view_golismero);
        CardView cardviewwafw00f = findViewById(R.id.card_view_wafw00f);
        CardView cardviewsitebroker = findViewById(R.id.card_view_sitebroker);
        CardView cardviewhydraform = findViewById(R.id.card_view_hydraform);
        CardView cardviewpyfilebuster = findViewById(R.id.card_view_pyfilebuster);
        CardView cardviewwpxf = findViewById(R.id.card_view_wpxf);
        CardView cardviewwpscan = findViewById(R.id.card_view_wpscan);
        CardView cardviewjoomlavs = findViewById(R.id.card_view_joomlavs);
        CardView cardviewwpseku = findViewById(R.id.card_view_wpseku);
        CardView cardviewcmseek = findViewById(R.id.card_view_cmseek);
        CardView cardviewwascan = findViewById(R.id.card_view_wascan);
        CardView cardviewaron = findViewById(R.id.card_view_aron);
        CardView cardviewblazy = findViewById(R.id.card_view_blazy);
        CardView cardviewhhh = findViewById(R.id.card_view_hhh);
        CardView cardviewxanxss = findViewById(R.id.card_view_xanxss);
        CardView cardviewwfuzz = findViewById(R.id.card_view_wfuzz);
        CardView cardviewvulnx = findViewById(R.id.card_view_vulnx);
        CardView cardviewuatester = findViewById(R.id.card_view_uatester);
        CardView cardviewcadaver = findViewById(R.id.card_view_cadaver);
        CardView cardviewxspear = findViewById(R.id.card_view_xspear);
        CardView cardviewwpforce = findViewById(R.id.card_view_wpforce);

        cardviewodin.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("0d1n");

            }
        });

        cardviewmitmproxy.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("mitmproxy");

            }
        });

        cardviewwapiti.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wapiti");

            }
        });

        cardviewreconng.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("recon-ng");

            }
        });

        /**
         *
         * Help me, i'm dying...
         *
         **/

        cardviewphpsploit.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("phpsploit");

            }
        });

        cardviewxsstrike.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xsstrike");

            }
        });

        cardviewphoton.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xsstrike");

            }
        });

        cardviewxsser.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xsser");

            }
        });

        cardviewcommix.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("commix");

            }
        });

        cardviewsqlmap.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("sqlmap");

            }
        });

        cardviewpayloadmask.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("payloadmask");

            }
        });

        cardviewabernathy.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("abernathy");

            }
        });

        cardviewclusterd.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("clusterd");

            }
        });

        cardviewdirb.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("dirb");

            }
        });

        cardviewfimap.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("fimap -h");

            }
        });

        cardviewgrabber.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("grabber -h");

            }
        });

        cardviewhamster.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("hamster");

            }
        });

        cardviewhttrack.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("httrack");

            }
        });


        cardviewarjun.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("arjun -h");

            }
        });

        cardviewput2win.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("put2win -h");

            }
        });

        cardviewwafninja.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wafninja -h");

            }
        });

        cardviewxsrfprobe.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xsrfprobe");

            }
        });

        cardviewevilurl.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("evilurl");

            }
        });

        cardviewfiesta.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("fiesta -h");

            }
        });

        cardviewwhatweb.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("whatweb -h");

            }
        });

        cardviewgolismero.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("golismero --help");

            }
        });

        cardviewwafw00f.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wafw00f -h");

            }
        });

        cardviewsitebroker.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("sitebroker");

            }
        });

        cardviewhydraform.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("hydra-form");

            }
        });

        cardviewpyfilebuster.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("filebuster -h");

            }
        });

        cardviewwpxf.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wpxf");

            }
        });

        cardviewwpscan.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wpscan -h");

            }
        });

        cardviewjoomlavs.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("joomlavs");

            }
        });

        cardviewvulnx.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("vulnx -h");

            }
        });

        cardviewwpseku.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wpseku -h");

            }
        });

        cardviewcmseek.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("cmseek");

            }
        });

        cardviewwascan.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wascan");

            }
        });

        cardviewaron.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("aron -h");

            }
        });

        cardviewblazy.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("blazy");

            }
        });

        cardviewhhh.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("hhh -h");

            }
        });

        cardviewnodexp.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("nodexp --help");

            }
        });

        cardviewxxeenum.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xxe-enum-client -h");

            }
        });

        cardviewxxeinjector.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xxeinjector");

            }
        });

        cardviewxxetimes.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xxetimes -h");

            }
        });

        cardviewxanxss.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("xanxss -h");

            }
        });

        cardviewwfuzz.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wfuzz --help");

            }
        });

        cardviewuatester.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("ua-tester");

            }
        });

        cardviewcadaver.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("cadaver");

            }
        });

        cardviewxspear.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("XSpear -h");

            }
        });

        cardviewwpforce.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {

                run_hack_cmd("wpforce -h");

            }
        });


    }

    public void run_hack_cmd(String cmd) {

        Intent intent = Bridge.createExecuteIntent(cmd);
        startActivity(intent);

    }

    @Override
    public void onPause() {
        particleView.pause();
        super.onPause();
        finish();
    }
}
